package com.example.jetpacktest.repository

import com.example.jetpacktest.domain.Student
import com.example.jetpacktest.network.RetrofitSingleTon
import com.example.jetpacktest.network.RetrofitTest1Network

class RetrofitTest1Repository {

    private val network: RetrofitTest1Network = RetrofitTest1Network()

    suspend fun getStudent(id: Long): Student{
        return network.getStudent(id)
    }

}